/*
* @Author: steven.wang
* @Date:   2019-02-27 10:53:47
* @Last Modified by:   steven.wang
* @Last Modified time: 2019-03-20 16:26:02
*/
var path = require('path');

const config = {
	debug: true,
	name: 'Crawler',

	mysql: {
		host: 'localhost',
		port: 3306,
		user: 'root',
		password: 'password',
		database: 'crawler'
	},
	concurrency: 10,

	filePath: {
		countryPath: 'files/country.json',
		provincePath: 'files/province.json',
		cityPath: 'files/city.json',
		countyPath: 'files/county.json',
		townPath: 'files/town.json',
		villagePath: 'files/village.json'
	},

    countryUrl: 'https://yumingsuoxie.51240.com/',
    chinaUrl: 'http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/2018/'
};

module.exports = config;